package com.atguigu.maven;

import java.util.Properties;
import java.util.Set;

/**
 * ClassName: Properties
 * Description:
 * Date: 2022/09/22 AM 10:32
 * <p>
 * project: pro02-maven-idea-parent
 * package: com.atguigu.maven
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class SystemPropertiesTest {

    public static void main(String[] args) {
        Properties properties = System.getProperties();
        Set<Object> propNameSet = properties.keySet();
        for (Object propName : propNameSet) {
            String propValue = properties.getProperty((String) propName);
            System.out.println(propName + "=" + propValue);
        }
    }
}
